      <% if flash[:error] %>
          <%= render :partial => "partials/error" %>
      <% end %>
      <% if flash[:notice] %>
          <%= render :partial => "partials/notice" %>
      <% end %>
      <% if flash[:warning] %>
          <%= render :partial => "partials/warning" %>
      <% end %>